home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DOSNX20B.ARJ / DOSNIX.DOC < prev    next >
Text File  |  1992-06-08  |  59KB  |  1,967 lines

  1. ~
  2.  
  3.       DOSNIX.DOC (this file) has been keyed for use with HELP.BAT and
  4.     READ.  For on-line help merely type "help" and the name of the subject
  5.     with which you want help.  To search for subjects while in READ, begin
  6.     the search string with a ~ (tilde).
  7.  
  8.       For help from anywhere on your system, READ.EXE and HELP.BAT should 
  9.     be in a directory pointed to by the PATH command and you should put 
  10.     the full path name for DOSNIX.DOC in HELP.BAT.  For example: 
  11.  
  12.             READ +\~%1 C:\DOSNIX\DOSNIX.DOC
  13.  
  14.  
  15.  
  16.                 HELP INDEX
  17.  
  18.  
  19.         Introduction            LS
  20.         General                    MV
  21.         STDIN                    MVDIR
  22.         STDOUT                    READ
  23.         Commands            RM
  24.             APP                 RN
  25.             CAT                SGREP
  26.             CHMOD                SPLIT
  27.             CLR                TEE
  28.             CP                TOLOWER 
  29.             CPDIR                TOUCH
  30.             DB                TOUPPER
  31.         EDC                WC
  32.         FFIND                Registration
  33.         GET
  34.  
  35.  
  36.  
  37. ~introduction
  38.  
  39.  
  40.                             DOSNIX ver. 2.0b 
  41.                      Copyr. 1990,1992 by  G. Vrooman
  42.                           All rights reserved.
  43.  
  44.  
  45.         DOSNIX is a collection of UNIX style file management and text
  46.     utilities which will increase the power and flexibility of your
  47.     system.  DOSNIX provides many of the features which UNIX users
  48.     take for granted along with some features not even found on UNIX
  49.     systems.  It is not a UNIX clone but it is very compatible with UNIX 
  50.     conventions.  Users who are familiar with UNIX will have no trouble
  51.     learning DOSNIX.  Other users may find DOSNIX a good tool for learning 
  52.     UNIX.  Some of the programs included with DOSNIX are:
  53.  
  54.  
  55.     CHMOD -    This version of the UNIX CHMOD command has been adapted
  56.              to work with MSDOS file attributes.  It will allow you
  57.              to change the attributes of any file and allow you to
  58.              create read only, hidden and system files.
  59.  
  60.     CLR -      A utility which will allow you to customize your screen 
  61.          colors from the command line.  CLR will work properly with or
  62.          without ANSI.SYS.
  63.  
  64.     CP -       The UNIX counterpart of the DOS COPY command.  CP will
  65.              allow you to copy hidden and system files, and the DOSNIX
  66.              version will not overwrite existing files without warning
  67.              you.  CP can handle wild cards and multiple arguments and
  68.          will even allow you to format a new floppy disk if the first
  69.          one gets filled up.  CP also has options to utilize the archive 
  70.          bit or to copy files interactively.
  71.  
  72.     DB -       The famous "delete but" command will delete all except
  73.              specified files.  This command is not UNIX but it is a
  74.              great tool for cleaning up around ZIP, ARC and other archive
  75.              files.
  76.  
  77.     EDC -      Easy Directory Change.  This utility will allow you to
  78.          change directories without typing out long path names.
  79.          EDC can also be used to display a visual directory tree
  80.          on your screen.
  81.  
  82.     FFIND -    FFIND is a file locator in the tradition of the UNIX FIND
  83.              command.  Although FFIND does not have the power and scope
  84.              of the UNIX version, it is much easier to use.  FFIND will
  85.              locate files on any drive and will accept wild cards.  It
  86.              will also locate hidden and system files and has options
  87.              to remove unwanted files.
  88.  
  89.  
  90.  
  91.  
  92.  
  93.     LS -       The venerable UNIX directory lister.  LS has been spruced 
  94.          up and given another sort and two new display modes.  LS will 
  95.          now display directories sorted by file size as well as name, 
  96.          extension or date.  LS can list files in one, two, four or five 
  97.          column formats, sorted by row or by column, and offers a choice 
  98.          of upper or lower case output.  LS also offers reverse sorting
  99.          and a choice of switch characters. Default options can be set 
  100.          from the environment.
  101.  
  102.  
  103.     MV -       A fast powerful file mover, MV is used to relocate files
  104.              without performing separate COPY and  DEL commands.  MV can
  105.              be used to move files to any directory or to any drive.
  106.  
  107.     MVDIR -    The UNIX directory move utility.  MVDIR will relocate
  108.          complete directory trees and this version will even
  109.          move them to another drive.
  110.  
  111.     READ -     A highly modified version of the UNIX PG or MORE command,
  112.             READ is a handy text file viewer which will recognize both UNIX 
  113.          and keypad commands and will read from STDIN or directly from
  114.          files.  
  115.  
  116.     RM -       More powerful than the DOS DEL command, this utility
  117.              will remove complete directory structures and is great
  118.              for erasing floppies.  Unlike some UNIX versions, RM
  119.              will warn you before doing anything drastic.
  120.  
  121.  
  122.         DOSNIX also includes versions of the CAT, TEE and TOUCH commands.
  123.  
  124.  
  125.  
  126.  
  127. ~general
  128.  
  129.  
  130.     INSTALLING DOSNIX:
  131.  
  132.       DOSNIX is intended primarily for hard drives although    individual 
  133.     DOSNIX utilities can be copied to a floppy disk.  To install DOSNIX 
  134.     on your hard drive you can copy the files to any convenient directory,
  135.     such as C:\DOSNIX and add the directory to the PATH statement in your
  136.         AUTOEXEC.BAT file.  If you don't have an AUTOEXEC.BAT file you can 
  137.     make one with the following two lines:
  138.  
  139.                         PATH = C:;C:\DOSNIX
  140.                         PROMPT $P$G
  141.  
  142.     This will get you up and running with DOSNIX.
  143.  
  144.  
  145.     DOSNIX OPTIONS:
  146.  
  147.       Most DOSNIX commands have a simple format which can be enhanced by 
  148.     the use of UNIX style option strings.  The option string is always 
  149.     the first argument after the command and usually begins with a "-".  
  150.     See the Command Summary for the options available with each command.
  151.  
  152.       If you are used to MSDOS switches and find this awkward you can 
  153.     insert the following line in your AUTOEXEC.BAT file:
  154.  
  155.         SET SWITCH=/     (No space before or after "=")
  156.  
  157.     All commands except CHMOD and READ will then recognize a "/" as an 
  158.     option delimiter.  If you don't use this feature, you can use slashes 
  159.     in path names, as in UNIX, and they will be converted to back slashes.
  160.  
  161.  
  162.  
  163.     INSTANT HELP:
  164.  
  165.       This document has now been keyed for quick command searches and
  166.     a HELP.BAT file has been included.  To obtain on-line help, type 
  167.     "help" and the name of the subject with which you want help.  In
  168.     addition, a brief summary of most commands can be obtained by typing 
  169.     the name of the command followed by a "-?". 
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.     USING DOSNIX:
  177.  
  178.       DOSNIX is based on UNIX although the author has simplified some 
  179.     commands and enhanced others.  Other commands have been modified
  180.     slightly to make them more compatible with MSDOS. If you are familiar 
  181.     with UNIX you should have no problem with DOSNIX. If you are not 
  182.     familiar with UNIX, books on the subject are available in most book 
  183.     stores.  My own personal favorite, if you can still find it, is:
  184.  
  185.                 UNIX SYSTEM V PRIMER
  186.                 Waite, Martin & Pratha
  187.                 Howard W. Sams & Co., Inc.
  188.  
  189.     This book offers a lightly humorous treatment of UNIX and much of it 
  190.     is applicable to DOSNIX.
  191.  
  192.       DOSNIX has a great many options and features, which can be 
  193.     bewildering to the novice user.  Pick out the commands and options 
  194.     you need the most and get familiar with them before moving on.  LS 
  195.     is a great directory lister and it is a lot fun to play around with, 
  196.     but the -l option is all most people  will ever need.  The same is 
  197.     true with other commands. The options are there if you need them but 
  198.     don't feel you need to learn every one.
  199.  
  200.       You can experiment with DOSNIX by making a scratch directory or 
  201.     floppy and playing around with different commands. This procedure is 
  202.     highly recommended for destructive commands such as RM and DB.
  203.  
  204.  
  205.     COMPATIBILITY:
  206.  
  207.       DOSNIX was written and tested using an XT clone with Phoenix BIOS 
  208.     and MSDOS 3.1 and 3.3.  It was written very conservatively and should 
  209.     be upwardly compatible with with MSDOS 4.x, 5.x and most AT and 386
  210.     class machines.  Compatibility with MSDOS 2.x is not guaranteed.
  211.     Some utilities, such as READ and CLR, use BIOS level screen and 
  212.     keyboard functions and require an IBM compatible BIOS.  Because all 
  213.     utilities use small or medium memory models, they should not require 
  214.     more than 256k of memory to run. 
  215.  
  216.  
  217.     NOTE:
  218.  
  219.     UNIX is a registered trademark of AT&T Corporation.
  220.     MSDOS is a registered trademark of Microsoft Corporation.
  221.  
  222.  
  223.  
  224. ~stdin  ~stdout
  225.  
  226.  
  227.             STANDARD INPUT (STDIN) AND STANDARD OUTPUT (STDOUT)
  228.  
  229.  
  230.       DOSNIX utilities make extensive use of STDIN and STDOUT.  STDIN
  231.     is the keyboard unless you decide to redirect it.  STDOUT is the
  232.     screen unless you decide to redirect it.  Redirection is done by
  233.     using the MSDOS operators; <, >, >> and |.
  234.  
  235.     <     used with a program that normally reads from STDIN.  It 
  236.         tells MSDOS to use the contents of a file for STDIN.
  237.         For example: 
  238.  
  239.             more < dosnix.doc
  240.  
  241.           
  242.     >    writes STDOUT to a file.  For example:
  243.  
  244.             cat dosnix.doc
  245.  
  246.         writes DOSNIX.DOC to the screen, while
  247.  
  248.             cat dosnix.doc > another.doc
  249.  
  250.         copies DOSNIX.DOC to ANOTHER.DOC.
  251.  
  252.  
  253.     >>    appends STDOUT to an existing file or writes STDOUT
  254.         to a new file.  For example:
  255.  
  256.             cat quickref.doc >> dosnix.doc
  257.  
  258.         appends QUICKREF.DOC to DOSNIX.DOC.  Unfortunately
  259.         this operator will leave an unwanted CTRL-Z between
  260.         the two files.  For this reason, DOSNIX includes an 
  261.         APP command.
  262.  
  263.  
  264.     |    The pipeline operator. Uses STDOUT as STDIN for a
  265.         second program.  For example:
  266.  
  267.             cat *.doc | read
  268.  
  269.         pipes all files with an extension of .DOC to READ.
  270.  
  271.  
  272.  
  273.       UNIX and DOSNIX provide an additional command, TEE, which
  274.     will write STDOUT to the screen and store it in a file at
  275.     the same time.  For example:
  276.  
  277.             cat dosnix.doc | tee another.doc
  278.  
  279.     writes DOSNIX.DOC to the screen and stores it in ANOTHER.DOC.
  280.  
  281.  
  282.  
  283. ~commands
  284.  
  285.  
  286.                         LIST OF DOSNIX COMMANDS
  287. -------------------------------------------------------------------------------
  288.  
  289.  
  290.         APP             append standard input to file(s).
  291.  
  292.         CAT             Copy text file(s) to standard output.
  293.  
  294.         CHMOD           Modify attribute(s) of file.
  295.  
  296.         CLR             Set screen foreground, background and border colors.
  297.  
  298.         CP              Copy file to new file or directory.
  299.  
  300.         CPDIR           Copy directory and all subdirectories. *
  301.  
  302.         DB              Delete all files except specified files.
  303.  
  304.     EDC        Easy Directory Change.
  305.  
  306.         FFIND           Find all copies of file in specified path.
  307.  
  308.         GET             Find all filenames containing specified string. *
  309.  
  310.         LS              List contents of directory.
  311.  
  312.         MV              Move file to new file or directory.
  313.  
  314.         MVDIR           Move directory and all subdirectories to new location.
  315.  
  316.         READ            Display text file in page format.
  317.  
  318.         RM              Remove file(s).
  319.  
  320.         RN              Rename file or directory.
  321.  
  322.     SGREP        Search  text file(s) for specified string. *
  323.  
  324.     SPLIT        Split a text file into several smaller files. *
  325.  
  326.         TEE             Copy standard input to standard output and file(s).
  327.  
  328.         TOLOWER         Convert standard input to lower case.
  329.  
  330.         TOUCH           Modify file time and date.
  331.  
  332.         TOUPPER         Convert standard input to upper case.
  333.  
  334.     WC        Count lines, words and characters in a file. *
  335.  
  336.  
  337.         * Enhanced version
  338.  
  339.  
  340.  
  341.  
  342.  
  343.                         SUMMARY OF DOSNIX COMMANDS
  344. ------------------------------------------------------------------------------
  345. ~app
  346.  
  347.  
  348.     NAME:
  349.  
  350.     APP     Append standard input to file.
  351.  
  352.  
  353.     SYNTAX:
  354.  
  355.     app  file1 [file2..file5]               Appends standard input to up 
  356.                         to five files.
  357.  
  358.  
  359.  
  360.     DESCRIPTION:
  361.  
  362.       APP is a non-UNIX command meant to replace the DOS ">>" operator.  
  363.     Using ">>" to append files will not remove the CTRL-Z from the end of 
  364.     the first file before appending, but using APP will.  APP can be  used
  365.     with the dos "|" operator and any command which writes to standard 
  366.     output.  For example:
  367.  
  368.                 cat file1 file2 | app file3
  369.  
  370.     appends the output of CAT to file3.  See CAT.
  371.  
  372.                 app < file1 file2     
  373.  
  374.     appends file1 to file2.
  375.  
  376.     WARNING:  Do not use "app < file1 > file2".  This will erase file2.
  377.  
  378.     APP is meant for use with text files only and use with binary files 
  379.     is not recommended.
  380.  
  381.  
  382.  
  383. ~cat
  384.  
  385.  
  386.     NAME:
  387.  
  388.     CAT     Copy text file(s) to standard output.
  389.  
  390.  
  391.     SYNTAX:
  392.  
  393.  
  394.     cat                             Copies standard input to standard 
  395.                     output.
  396.  
  397.     cat file1                       Copies file1 to standard output. 
  398.                     Usually the screen.
  399.  
  400.     cat file1 file2 > file3         Concatenates file1 and file2 and 
  401.                     stores in file3.
  402.  
  403.  
  404.  
  405.  
  406.     DESCRIPTION:
  407.  
  408.       CAT reads one or more files and copies them to STDOUT.  If no input 
  409.     file is given, CAT will read STDIN until a CTRL-Z is found.  For 
  410.     example:
  411.  
  412.                         cat *.c > csource.txt
  413.  
  414.     will concatenate all files with an extension of .C and store
  415.     them in CSOURCE.TXT.
  416.  
  417.                         cat file1 file2 | app file3
  418.  
  419.     concatenates file1 and file2 and appends the result to file3.
  420.  
  421.                         cat > temp
  422.  
  423.     stores whatever is typed on the keyboard in TEMP and is similar to the 
  424.     DOS command COPY CON TEMP.  CTRL-Z can be used to terminate this 
  425.     operation.
  426.  
  427.     Some versions of CAT will copy the CTRL-Z at the end of    each file, 
  428.     leaving you stuck with a lot of unwanted CTRL-Z's in your new file.  
  429.     This version wont.
  430.  
  431.     CAT is meant for use with text files only and use with binary files 
  432.     is not recommended.
  433.  
  434.  
  435.  
  436. ~chmod
  437.  
  438.  
  439.     NAME:
  440.  
  441.     CHMOD   Change attribute(s) of a file.
  442.  
  443.  
  444.     SYNTAX:
  445.  
  446.     chmod [+x] file1                Adds attribute x to file1
  447.  
  448.     chmod [-x] file1                Removes attribute x from file1
  449.  
  450.  
  451.  
  452.     ATTRIBUTES:
  453.  
  454.     +a                              Set archive bit.
  455.     -a                              Clear archive bit.
  456.     +h                              Add hidden attribute.
  457.     -h                              Remove hidden attribute.
  458.     +r                              Add read only attribute.
  459.     -r                              Remove read only attribute.
  460.     +s                              Add system attribute.
  461.     -s                              Remove system attribute.
  462.  
  463.  
  464.  
  465.     DESCRIPTION:
  466.  
  467.       CHMOD is used to modify the attributes of a file.  Attributes can 
  468.     be grouped together in any sequence but each attribute must be 
  469.     preceded by a "+" or a  "-".  For example:
  470.  
  471.                         chmod -a *.*
  472.  
  473.     removes the archive bit from all files in the current directory,
  474.  
  475.                         chmod -a+r list.txt
  476.  
  477.     removes the archive bit and makes LIST.TXT read only,
  478.  
  479.                         chmod +h+s widget.com
  480.  
  481.     makes WIDGET.COM a hidden, system file.
  482.  
  483.  
  484.  
  485. ~clr
  486.  
  487.  
  488.     NAME:
  489.  
  490.     CLR   Set foreground, background and border colors.
  491.  
  492.  
  493.  
  494.     SYNTAX:
  495.  
  496.     clr                Clears screen without resetting 
  497.                     attributes.
  498.  
  499.     clr [-ab] fgnd [bkgnd [brdr]]   Sets screen foreground, background
  500.                     and border colors.
  501.  
  502.  
  503.     OPTIONS:
  504.  
  505.         
  506.     a        ANSI compatible mode.
  507.                 
  508.     b               Set foreground Bold attribute to ON.
  509.  
  510.  
  511.  
  512.     DESCRIPTION:
  513.  
  514.       CLR sets the screen foreground, background and border colors to 
  515.     those specified by the user.  The following colors are supported:
  516.  
  517.         BLACK   RED     GREEN   YELLOW  AMBER
  518.  
  519.         BLUE    MAGENTA CYAN    WHITE
  520.  
  521.     Because yellow is high intensity amber, it is impossible to have a 
  522.     yellow background.  Border colors will vary with the type of monitor.
  523.  
  524.       If only a foreground color is specified the background color 
  525.     defaults to black.  The border color always defaults to the background 
  526.     color.  To change the background color you need to specify the 
  527.     foreground color.  To change the border color you need to specify 
  528.     foreground and background colors.
  529.  
  530.       For ease of use CLR will recognize the first three letters of any 
  531.     color name.  For example:
  532.  
  533.                         clr yel
  534.  
  535.     sets the foreground color to yellow with a black background and border,
  536.  
  537.                         clr whi blu
  538.  
  539.     sets the foreground color to white and the background and border 
  540.     colors to blue, and
  541.  
  542.                         clr red whi red
  543.  
  544.     sets the foreground color to red, the background color to white and 
  545.     the border color to red.
  546.  
  547.  
  548.  
  549.  
  550.  
  551.       The -b option sets the intensity of the foreground color to high.  
  552.     For example:
  553.  
  554.                         clr -b red
  555.  
  556.     sets the foreground color to high intensity red.
  557.  
  558.       If the screen is cleared after using CLR, and ANSI.SYS is not 
  559.     installed, the screen will return to normal. This can be avoided by 
  560.     using CLR without arguments to clear the screen, or by installing 
  561.     ANSI.SYS.
  562.  
  563.       If ANSI.SYS is installed, CLR will detect it and generate the needed 
  564.     escape codes.  A -a option has been provided to force ANSI mode if 
  565.     needed.  
  566.  
  567.  
  568.  
  569.  
  570. ~cp
  571.  
  572.  
  573.     NAME:
  574.  
  575.     CP      Copy file to new file or directory.
  576.  
  577.  
  578.  
  579.     SYNTAX:
  580.  
  581.     cp [-abcfinopstv] file1 file2    Copies file1 to file2
  582.  
  583.  
  584.         cp [-abcfinopstv] file1 [file2..filen] dir
  585.  
  586.                     Copies any number of files to 
  587.                     directory.
  588.  
  589.         cp [-abcfinopstv] dir1 dir2      Copies files in dir1 to dir2.
  590.  
  591.     cp -m source dest1 [dest2..destn]
  592.  
  593.                           Makes multiple copies of source.
  594.                     Destination may  be  either file or
  595.                     directory.
  596.  
  597.  
  598.     OPTIONS:
  599.  
  600.     a               Copy hidden and system files.  Prompt
  601.                         before overwriting protected files.
  602.         b               Copy only files with archive bit set.
  603.         c               Clear archive bits after copying.
  604.         f               Copy hidden and system files.  Overwrite
  605.                         protected files without prompting.
  606.         i               Interactive mode. Prompts before copying.
  607.         m               Make multiple copies of single file.
  608.         n               No delete. Do not overwrite existing files.
  609.         o               Overwrite existing files without prompting.
  610.                         Does not overwrite protected files.
  611.         p               Preserve file attributes when copying.
  612.         s               Copy files without echoing to screen.
  613.         t               Update file time and date when copying.
  614.         v               Verify files when copying.
  615.  
  616.  
  617.  
  618.     DESCRIPTION:
  619.  
  620.       CP copies one or more files to a new file or directory. If more 
  621.     than one source file is specified or wildcards are used, the last  
  622.     argument must specify an existing directory or an error  will  occur. 
  623.     If a directory is used as a source, all files in the directory will 
  624.     be copied but subdirectories will not be copied.
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.       Each file is echoed to the screen as it is copied and existing  
  632.     files  are not overwritten  without prompting.  If an existing file 
  633.     is protected the user will be notified and prompted a second time 
  634.     before the file is overwritten. Options are provided to override 
  635.     these features when desired.
  636.  
  637.       If a Disk Full error occurs while copying files to a removable 
  638.     device, CP will prompt the user for a new diskette.  The user may 
  639.     either continue, format a new disk or abort at this point.  If a new 
  640.     disk is inserted, CP will create the directory if needed. To format 
  641.     disks, CP needs    to access COMMAND.COM and FORMAT.COM, so set COMSPEC 
  642.     to point to your copy of COMMAND.COM and make sure FORMAT.COM is in a 
  643.     directory pointed to by PATH.
  644.  
  645.       The -i option will prompt the user for a yes or no answer before 
  646.     copying each file.  Used with wildcards or directory names this option 
  647.     provides an interactive method of copying files.
  648.  
  649.       Hidden and system files can be copied using the -a option or the 
  650.     -f option.  If the -f option is used all existing files, even 
  651.     protected files, will be overwritten without prompting the user.
  652.  
  653.       The -o option can be used overwrite existing files but will not 
  654.     overwrite protected files.  If the -n option is used, no files will 
  655.     be overwritten and the user will not be prompted.  The -n option 
  656.     overrides all other options in this respect.
  657.  
  658.       If the -s option is used, files will not be echoed to the screen 
  659.     when copying.  This option can be used with the -o, -f or -n options 
  660.     when no screen output is desired.
  661.  
  662.       Unlike the MV command, file attributes are not carried over and
  663.     the archive bit of the new file is set. The -p option can be used 
  664.     to preserve the attributes of the old file.
  665.  
  666.       In normal use CP will carry over the time and date of the old
  667.     file.  If the -t option is used, the new file will be stamped
  668.     with the current DOS time and date.
  669.  
  670.       A -v option has been added to turn on the DOS verify flag before
  671.     copying.  When the copy is complete the verify flag is restored
  672.     to its former state.
  673.  
  674.  
  675.  
  676.  
  677.  
  678.       CP can be used for backups with the -b option.  When this option 
  679.     is used, only  archive files are copied.  The -c option will clear 
  680.     the archive bit on both files after the copy is made.  For example:
  681.  
  682.             cp -bco *.* a:\
  683.  
  684.     copies only files in the current directory which have not been backed 
  685.     up.  The archive bits are cleared and any previously existing files 
  686.     on drive A are overwritten.
  687.  
  688.       Sometimes it is  necessary to  copy a  file to  several different 
  689.     drives or directories.  CP can be used with the  -m option to make 
  690.     as many copies of a file as needed.
  691.  
  692.  
  693.  
  694. ~cpdir
  695.  
  696.  
  697.     NAME:
  698.  
  699.     CPDIR   copy directory and all subdirectories. *
  700.  
  701.  
  702.  
  703.  
  704.         * Enhanced version only.
  705.  
  706.  
  707.  
  708. ~db
  709.  
  710.  
  711.     NAME:
  712.  
  713.     DB      Delete all files except specified files.
  714.  
  715.  
  716.     SYNTAX:
  717.  
  718.     db file1..filen                 Deletes all files in directory
  719.                                                 except specified files.
  720.  
  721.  
  722.     OPTIONS:        None
  723.  
  724.  
  725.  
  726.     DESCRIPTION:
  727.  
  728.       DB will delete all files in a directory except the files given as 
  729.     an argument.  Wildcards can be used in arguments but path names are 
  730.     not supported.  DB can only be used in the current directory.  For 
  731.     example:
  732.  
  733.                         db *.zip
  734.  
  735.     will delete all files that do not have an extension of .ZIP and, 
  736.     in fact, DB is an excellent tool for cleaning up around ZIP files 
  737.     and other archives.
  738.  
  739.       DB works by assigning a +h attribute to the specified files and 
  740.     then removing all normal files.  The remaining files are then 
  741.     "unhidden".  This can cause a problem  with previously existing 
  742.     hidden files.  If DB encounters any hidden files it, will safely 
  743.     abort leaving the directory unchanged.  You will then have to use RM.
  744.  
  745.         WARNING: DB can be a deadly weapon if used carelessly.  Use it only 
  746.     when you are sure of what you are doing.
  747.  
  748.  
  749.  
  750.  
  751. ~edc
  752.  
  753.  
  754.     NAME:
  755.  
  756.     EDC    Easy Directory Change
  757.  
  758.  
  759.     SYNTAX:
  760.  
  761.     edc [-options] [d:]dir1            Changes directory to dir1.
  762.     edc -rn dir1 dir2            Renames dir1 to dir2.
  763.  
  764.  
  765.     OPTIONS:
  766.  
  767.     k    Do not pause when screen is full.
  768.     l    Scan drive and list directories.
  769.     m    Create directory and update path file.
  770.     n    Display directory tree without graphics.
  771.     q    Quick scan.  Do not look for extensions.
  772.     r    Remove directory and update path file.
  773.     rn    Rename directory and update path file.
  774.     s    Scan drive. No screen output.
  775.     t    Display directory tree with graphics.
  776.     ?    Display help screen.
  777.  
  778.  
  779.  
  780.     DESCRIPTION:
  781.  
  782.       EDC allows you to change directories by entering only the directory 
  783.     name rather than the whole path name.  For example, if you have a 
  784.     directory  named \MODEM\FILES\ZIP you can reach the directory 
  785.     from anywhere on your drive by entering:
  786.  
  787.             edc zip
  788.  
  789.     instead of:
  790.  
  791.             cd \modem\files\zip
  792.  
  793.     EDC can also find directories if given just the first few letters of  
  794.     the name.  If  you  have a directory named \GAMES\POKER\BIGDECK, 
  795.     entering:
  796.  
  797.             edc big
  798.  
  799.     will  find it.
  800.  
  801.           If  EDC finds  more than one directory with the same name, it 
  802.     will display all directories found and  prompt you  to choose one.
  803.     A new menu has been installed with both a selector bar and a speed
  804.         search feature.  To use speed search, enter the next letter of the
  805.     directory name to narrow the search or use the backspace key to
  806.     widen the search.
  807.  
  808.  
  809.  
  810.  
  811.  
  812.       EDC will locate directories on any hard drive without using a 
  813.     drive spec.  To change to a directory on a floppy  drive, or just
  814.     to speed things up, you can enter the drive spec along with the 
  815.     directory name with no space or slash between them.  For example 
  816.     if you are currently using drive C and you wish to change to 
  817.     B:\GAMES\BOARD\CHECKERS you can enter:
  818.  
  819.             edc b:checkers
  820.         or
  821.  
  822.             edc b:check
  823.  
  824.     A drive spec can be terminated by a semicolon as well as a colon.
  825.     This allows you to change drives without hitting the shift key.
  826.     For example:
  827.  
  828.             edc b;check
  829.  
  830.  
  831.       To install EDC, copy EDC.EXE to the root directory of your boot 
  832.     drive or to any directory pointed  to by the DOS PATH parameter. 
  833.     Then enter:
  834.  
  835.             edc -s
  836.  
  837.        EDC will scan all hard drives for directories and store    them in  
  838.     a file named PATH.EDC which is maintained in the root directory of
  839.     drive C.  Because EDC refers to this file to find directories, 
  840.     it should not be removed.  To scan floppy drives you can enter:
  841.  
  842.             edc -s d:
  843.  
  844.     where "d" is the letter of the drive you are scanning. 
  845.  
  846.  
  847.        If EDC does not find a copy of PATH.EDC when changing directories,
  848.     it will automatically scan the drive for you.  The -s option can 
  849.     be used for updates.  You can lock out undesired drives by setting 
  850.     the environment    variable EDNOSCAN to the letters of the drives that 
  851.     you want to ignore.  For example:
  852.  
  853.             set ednoscan=df
  854.  
  855.     will cause EDC to ignore drives D and F.  
  856.  
  857.  
  858.       If a full path name or one of the standard  DOS directory symbols 
  859.     ("\",  "." or "..") is given, EDC will change directories immediately
  860.     without checking PATH.EDC.
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.       If the -t option is used, EDC will display the directory tree 
  868.     on your screen while it    is scanning.  The screen will pause after 
  869.     displaying each page of information and give you an opportunity
  870.     to choose a directory.  PATH.EDC will not be updated unless the 
  871.     -k option is used.  For redirection to non-IBM printers, the -n 
  872.     option will display the directory tree without using graphics 
  873.     characters.  The -l option will display a list of directories 
  874.     instead of a tree.  
  875.  
  876.       The -l, -n, and -t options are different from the -s option
  877.     in one respect.  If no drive is specified only the current 
  878.     drive will be scanned.  If the -s option is combined with any
  879.     of these options all hard drives will be scanned.
  880.  
  881.  
  882.       If none of your directory names have extensions you can use
  883.     the -q option with any of the above options for quicker scans.
  884.     For example:
  885.  
  886.             edc -sq    or    edc -tq
  887.  
  888.  
  889.      The -m and -r options can be used to create and remove directories.
  890.     Rules for path names are the same as for DOS and PATH.EDC will be 
  891.     updated after each change.  A -rn option has been added to rename 
  892.     directories.  Old and new directories should be be in the same parent 
  893.     directory.  If other commands are used to create and remove 
  894.     directories you will have to rescan the affected drive.
  895.  
  896.  
  897.     NOTE: EDC uses the MSDOS LASTDRIVE parameter to determine the 
  898.     number of available drives on your system.  For best performance 
  899.     insert the following line in CONFIG.SYS:
  900.  
  901.             LASTDRIVE = x
  902.  
  903.         where x is the letter of your last logical drive.
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910. ~ffind
  911.  
  912.  
  913.     NAME:
  914.  
  915.     FFIND   Find all copies of file in specified path.
  916.  
  917.  
  918.     SYNTAX:
  919.  
  920.     ffind [-abdfiklmnr?] [+-=date] [path] filename    
  921.  
  922.                         Finds all files in path with
  923.                             the same name.
  924.  
  925.     ffind -e "command {}" [+-=date] [path] filename   
  926.  
  927.                         Executes DOS command when each
  928.                         file is located.
  929.  
  930.     OPTIONS:
  931.  
  932.     a               Include hidden and system files in search.
  933.         b               Batch mode, disable warning prompt.
  934.         d               Include directories in search.
  935.     e        Execute DOS command.
  936.         f               Include floppy drives in search.
  937.         i               Remove files interactively.
  938.     k        No highlights or screen pauses.
  939.         l               Display in long format, showing
  940.                         attributes, size, time and date.
  941.         m               Display totals for each directory.
  942.     n        Display output in lower case.
  943.         r               Remove files when found.
  944.         ?               Display help screen.
  945.  
  946.  
  947.  
  948.     DESCRIPTION:
  949.  
  950.       FFIND will search the specified path for all copies of a given 
  951.     file.  "path" should be a valid directory name or drive spec. If 
  952.     "path" is omitted the search will begin from the root directory of 
  953.     the current drive.  If "*:" is used for a path FFIND will search all 
  954.     available hard drives. Wild cards can be used in file names and all 
  955.     subdirectories will be searched. For example:
  956.  
  957.                 ffind *.bak
  958.         or
  959.                 ffind \ *.bak
  960.  
  961.         will search the entire current drive for all files named with
  962.         an extension of .BAK.
  963.  
  964.                 ffind d: temp
  965.  
  966.         will search all of drive D for all files named TEMP,
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.                 ffind *: temp
  974.  
  975.         will search all hard drives for all files named TEMP, and
  976.  
  977.  
  978.         ffind \games poker.exe
  979.  
  980.         will search the directory \GAMES and all subdirectories for all files 
  981.     named POKER.EXE.
  982.  
  983.  
  984.       The -r option will delete files when found.  For example:
  985.  
  986.         ffind -r c:\ *.bak
  987.  
  988.     will search drive c for all files with an extension of .BAK and 
  989.     remove them.  The -i option is similar to the -r option except that 
  990.     the user is prompted before each file is removed.  The -r option 
  991.     provides an initial warning prompt before execution.  If you ever 
  992.     type "-r" when you really  meant to type "-l" you will appreciate 
  993.     the need for this.  The -b option will override this feature for 
  994.     unattended batch file operation.  This option is intended for use in
  995.     batch files only.  Don't use it from the keyboard, or some day you 
  996.     will type in "ffind -rb" when you least intend to.  
  997.  
  998.       FFIND will locate hidden and system files with the -a option  but 
  999.     the -r option cannot be used to remove protected files.  Use the -i 
  1000.     option to remove these files.
  1001.  
  1002.           The -l option can be used to display complete information on each 
  1003.     file located and the -k option will disable highlights and screen
  1004.     pauses, allowing the output to be redirected.
  1005.  
  1006.       The -m option will display the total number of matching files in 
  1007.     each directory along with the total number of bytes used.  For 
  1008.     example:
  1009.  
  1010.         ffind -almk c:\ *.* > disk.map
  1011.  
  1012.     will create a complete usage map of the user's hard disk and store 
  1013.     it in DISK.MAP.
  1014.  
  1015.       When "*:" is used as a drive spec, FFIND will ignore floppy drives 
  1016.     unless the -f option is used.  This eliminates the annoying wait
  1017.     on empty floppy drives.  Floppy drives can still be searched
  1018.     directly without using the -f option.
  1019.  
  1020.       A semicolon can now be used to terminate a drive spec in place
  1021.     of a colon.  In addition FFIND will consider ";;" equivalent to
  1022.     "*:" and search all drives.  These modifications save a few
  1023.     key strokes.
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.     NOTE: FFIND uses the MSDOS LASTDRIVE parameter to determine the 
  1030.     number of available drives. If FFIND attempts to search non-existent 
  1031.     drives insert the following line in CONFIG.SYS:
  1032.  
  1033.             LASTDRIVE = x
  1034.  
  1035.         where x is the letter of your last logical drive.
  1036.  
  1037.  
  1038.        FFIND can also locate files based on date.  The date parameter
  1039.     should be entered after any switches and before the path and file 
  1040.     arguments.  The date should be preceded by a "+", "-" or "=".
  1041.     For example:
  1042.  
  1043.             ffind -07/04/91 *.*
  1044.  
  1045.     will locate all files created or modified since July 4th, 1991.
  1046.     
  1047.             ffind -l +07/04/1991 *.txt
  1048.  
  1049.     will locate all  .TXT files older than July 4th, 1991 and display
  1050.     them in long format.
  1051.  
  1052.             ffind -r =07/04/1991 d; *.* 
  1053.  
  1054.     will locate and remove all files on drive D which are dated
  1055.     July 4th, 1991. 
  1056.  
  1057.         FFIND can locate files by number of days back as well as 
  1058.     actual date.  For example:
  1059.  
  1060.             ffind =5 *.*
  1061.  
  1062.     will locate all files created exactly five days ago and 
  1063.  
  1064.             ffind -5 *.* 
  1065.  
  1066.     will locate all files newer than five days.
  1067.  
  1068.  
  1069.  
  1070.       FFIND now has a -e option which will cause the program to shell 
  1071.     to DOS and execute a command whenever a file is located.  The name 
  1072.     of the located file can be parsed into the command argument by 
  1073.     inserting a pair of braces wherever you want the file to be used.  
  1074.     For example:
  1075.  
  1076.             ffind -e "pkunzip {}" *.zip
  1077.  
  1078.     would unzip all the ZIP files on the current drive.  If a null
  1079.     argument is used,  FFIND will shell to DOS in the directory in
  1080.     which the file is located, giving you an opportunity to do
  1081.     whatever you want.  For example:
  1082.  
  1083.                 ffind -e "" test.txt
  1084.  
  1085.  
  1086. ~get
  1087.  
  1088.  
  1089.     NAME:
  1090.  
  1091.     GET     Find all file names containing specified string. *
  1092.  
  1093.  
  1094.  
  1095.  
  1096.         * Enhanced version only.
  1097.  
  1098.  
  1099.  
  1100. ~ls
  1101.  
  1102.  
  1103.     NAME:
  1104.  
  1105.     LS      List contents of directory.
  1106.  
  1107.  
  1108.     SYNTAX:
  1109.  
  1110.       ls [-124acdefklnprtuxz?] [dir1]..[dirn]   Displays contents of dir1..dirn
  1111.  
  1112.       ls [-124acdefklnprtuxz?] [fil1]..[filn]   Lists fil1..filn
  1113.  
  1114.  
  1115.  
  1116.     OPTIONS:
  1117.  
  1118.     1               Display one entry per line.
  1119.     2        Display two entries per line with size and date.
  1120.     4        Display four entries per line showing size only.
  1121.         a               Display hidden and system files.
  1122.         c               Display files sorted down each column.
  1123.     d        Display file totals and free disk space. 
  1124.         e               Sort file names by extension.
  1125.         f               Display files only. Omit directories.
  1126.         k               Do not pause when screen is full.
  1127.         l               Display files in long format, showing
  1128.                         name, attributes, size, time and date.
  1129.     n        Display file names in lower case.
  1130.         p               Put a back slash after each subdirectory.
  1131.         r               Reverse order of sort.
  1132.         t               Sort files by time and date.
  1133.         u               Do not sort files.
  1134.     x        Display files sorted across screen.
  1135.     z        Sort files by size.
  1136.         ?               Display help screen.
  1137.  
  1138.  
  1139.  
  1140.     DESCRIPTION:
  1141.  
  1142.       LS displays the contents of a directory sorted across the screen 
  1143.     in five columns.  The arguments can be either files or directories. 
  1144.     If wildcards are used, all matching files will be listed.  Multiple
  1145.     arguments are accepted and more than one directory can be displayed.
  1146.     If no arguments are used, the contents of the current directory will
  1147.     be displayed.  If no options are used, -xpd will be assumed and file 
  1148.     totals will be displayed at the bottom of the listing.
  1149.  
  1150.           The -x option will display files sorted across the screen and
  1151.     is used in the default mode. The -c option will display files sorted 
  1152.     down each column rather than across each row.  If the  -1 (one) option 
  1153.     is used, one entry per line is displayed showing only the file name.
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.       If the -l option is used, one entry per line is displayed, showing 
  1161.     name, attributes, size of file in bytes, and time and date of last 
  1162.     modification.  A modified DOS format is used which is more readable 
  1163.     than the standard UNIX format.  Attributes displayed in this format 
  1164.     are:
  1165.  
  1166.                         <DIR>           Subdirectory.
  1167.                         A               Archive bit is set.
  1168.                         R               File is read only.
  1169.                         H               File is hidden.
  1170.                         S               File is system.
  1171.  
  1172.     At the  end of each display the size of the directory in bytes is
  1173.     shown. The size of any subdirectories is not included in this figure.
  1174.     Also shown is the remaining disk space.
  1175.  
  1176.       LS now has two new display formats.  The -2 option will display
  1177.     two entries per line showing file size and date and the -4 option
  1178.     will display four entries per line showing size only.  In these
  1179.     two modes the files are sorted down each column.  The -x option
  1180.     can be combined with either of these options to display files
  1181.     sorted horizontally.
  1182.  
  1183.  
  1184.           LS will pause after displaying one page of information. Typing "q" 
  1185.       at this point will terminate the program. Typing any other key will  
  1186.     continue the display.  The -k option will suppress this feature and 
  1187.     provide a continuous output which can be  redirected.  In addition,
  1188.     the -k option will eliminate any graphics characters, allowing the
  1189.     output to be redirected to a non-IBM printer.
  1190.  
  1191.  
  1192.       If the -a option is used, any hidden or system files contained in 
  1193.     the directory are also displayed.  The -f option will display file
  1194.     names only and omit any subdirectories.  The -p option will append a 
  1195.     back slash  to the end of each subdirectory name, allowing the user 
  1196.     to distinguish between files and  subdirectories.  This option will
  1197.     not work with the -l option.  
  1198.  
  1199.  
  1200.       The -t option will will sort files by time and date and can be used 
  1201.     with the -r option to display newest files first.  The -e option 
  1202.     will sort file names by extension and the -u option will provide 
  1203.     unsorted output if so desired.
  1204.  
  1205.  
  1206.       The -d option can be used to to display file totals at the end
  1207.     of each directory and the -n option will provide lower case output 
  1208.     if needed.
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.       LS can  be custom configured by setting the environment
  1215.     variable "LSCFG" to the desired options.  For example:
  1216.  
  1217.             set lscfg=le
  1218.  
  1219.     will cause LS to default to the long format, with files sorted by 
  1220.     extension, unless an option is specified on the command line. 
  1221.  
  1222.  
  1223.       LS is now EDC compatible.  If EDC is installed, LS will accept 
  1224.     partial directory names. LS will first look for an immediate directory
  1225.     with the specified name.  If no directory is found it will check 
  1226.     PATH.EDC for any matches.  If no matches are found it will then check
  1227.     for a file with the given name.  When using this feature the user is
  1228.     limited to one argument.  If more than one directory is specified on 
  1229.     the command line, PATH.EDC will not be searched.  This feature has 
  1230.     been made invisible so that LS can still be used as a stand-alone 
  1231.     directory lister.  As a result no error messages relating to EDC or 
  1232.     PATH.EDC will be displayed.
  1233.  
  1234.  
  1235.           This version of LS will not recursively list subdirectories but 
  1236.     the FFIND command can be used to obtain the same result.  For
  1237.     example:
  1238.  
  1239.         ffind -lm dirname *.*
  1240.  
  1241.         ffind -lm . *.*
  1242.  
  1243.  
  1244.  
  1245. ~mv
  1246.  
  1247.  
  1248.     NAME:
  1249.  
  1250.     MV      Move file(s) to new file or directory.
  1251.  
  1252.  
  1253.     SYNTAX:
  1254.  
  1255.     mv [-afnost?] file1 file2       Moves (renames) file1 to file2.
  1256.  
  1257.     mv [-afnost?] file1 [file2..filen] dir1
  1258.  
  1259.                     Moves any number of files to dir1.
  1260.  
  1261.     mv dir1 dir2                    Renames dir1 to dir2. dir1 and dir2 
  1262.                     must be in the same parent directory.
  1263.  
  1264.  
  1265.     OPTIONS:
  1266.  
  1267.     a               Move read only, hidden and system files.
  1268.                         Prompt before overwriting protected files.
  1269.         f               Move and overwrite all files without prompting.
  1270.         i               Interactive mode. Prompt before moving.
  1271.         n               No delete. Do not overwrite existing files.
  1272.         o               Overwrite existing files without prompting.
  1273.         s               Move files without echoing to screen.
  1274.         t               Update file time and date when moving.
  1275.         ?               Display help screen.
  1276.  
  1277.  
  1278.     DESCRIPTION:
  1279.  
  1280.       MV moves one or more files to a new file or directory. If more than 
  1281.     one source file is specified or wildcards are used, the last argument
  1282.     must  specify  an existing directory or an error will occur.  If a 
  1283.     directory is used as a source, all files in the directory will be
  1284.         moved but subdirectories will not be moved.
  1285.  
  1286.       Each file is echoed to the screen as it is moved and existing files
  1287.     are not overwritten  without prompting.  If an existing file is 
  1288.     protected the user will be notified and prompted a second time before 
  1289.     the file is overwritten. Options are provided to override these 
  1290.     features when desired.
  1291.  
  1292.       The -i option will prompt the user for a yes or no answer before 
  1293.     moving each file.  Used with wildcards or directory names this option 
  1294.     provides an interactive method of moving files.
  1295.  
  1296.  
  1297.  
  1298.  
  1299.       In normal use MV, ignores hidden and system files and prompts
  1300.     the user before moving read only files. Hidden and system files can 
  1301.     be moved using the -a option or the -f option.  The -a option will 
  1302.     move read only, hidden and system files without prompting but will 
  1303.     still prompt the user before overwriting protected files. If the -f 
  1304.     option is used all existing files, even protected files, will be 
  1305.     overwritten without prompting the user.
  1306.  
  1307.       The -o option can be used overwrite existing files without
  1308.     prompting but will not overwrite protected files.  If the -n option
  1309.         is used, no existing files will be overwritten and the user will not
  1310.         be prompted.  The -n option overrides all other options in this 
  1311.     respect.
  1312.  
  1313.       If the -s option is used, filenames will not be echoed to the 
  1314.     screen when moving.  This option can be used with the -o, -f or -n 
  1315.     options when no screen output is desired.
  1316.  
  1317.       In normal use MV will carry over the time and date of the old file.
  1318.     If the -t option is used, the new file will be stamped with the 
  1319.     current DOS time and date. Unlike the CP command, MV will also carry 
  1320.     over the attributes of the old file.
  1321.  
  1322.  
  1323.  
  1324.  
  1325. ~mvdir
  1326.  
  1327.  
  1328.     NAME:
  1329.  
  1330.     MVDIR   Move directory and all subdirectories to new location.
  1331.  
  1332.  
  1333.     SYNTAX:
  1334.  
  1335.     mv dir1 dir2                    Moves dir1 to dir2
  1336.  
  1337.  
  1338.  
  1339.     OPTIONS:
  1340.  
  1341.     s               Move files without echoing to screen.
  1342.         ?               Display help screen.
  1343.  
  1344.  
  1345.  
  1346.     DESCRIPTION:
  1347.  
  1348.       MVDIR will move a directory and all its subdirectories to the 
  1349.     specified target. If the target directory does not exist a new 
  1350.     directory will be created. If the target directory does exist a 
  1351.     directory will be created within the target directory having the 
  1352.     same name as the old directory.
  1353.  
  1354.       MVDIR has three modes of operation totally independent of user 
  1355.     input.  If both old and new directories are in  the same parent 
  1356.     directory, MVDIR will rename the old directory.  If old and new 
  1357.     directories are not in the same parent directory but reside on the 
  1358.     same drive, MVDIR will create the new directory structure, rename 
  1359.     the files and then remove the old directory. If old and new directories
  1360.         reside on different drives MVDIR will create the new directory 
  1361.     structure, copy the files over and then remove the old files and 
  1362.     directories.  If an error occurs in this last mode, such as a disk 
  1363.     full error, MVDIR will abort and leave the old directory intact.
  1364.  
  1365.  
  1366.  
  1367. ~read
  1368.  
  1369.  
  1370.     NAME:
  1371.  
  1372.     READ      Display text in page format.
  1373.  
  1374.  
  1375.     SYNTAX:
  1376.  
  1377.     read [-f][+#]                         Displays standard input one page 
  1378.                         at a time.
  1379.  
  1380.         read [+#][+\string] file1..filen    Displays contents of files  one 
  1381.                         page at a time.
  1382.  
  1383.     read dir                Lists directory and allows user
  1384.                         to select file to be read.
  1385.  
  1386.  
  1387.     OPTIONS:
  1388.  
  1389.     -f              Store standard input in temporary file
  1390.                          before displaying.
  1391.  
  1392.         +###            Begin displaying at line ###.
  1393.  
  1394.     +\string    Begin displaying at first occurrence of string.
  1395.  
  1396.  
  1397.  
  1398.     DESCRIPTION:
  1399.  
  1400.       READ is a text file viewer which can read from STDIN like the
  1401.     DOS MORE command, or directly from a file.  For example:
  1402.  
  1403.             read < dosnix.doc
  1404.  
  1405.     and
  1406.  
  1407.             read dosnix.doc
  1408.  
  1409.     will both display DOSNIX.DOC.  Wild cards and multiple arguments
  1410.     can be used to view several files in sequence.  For example:
  1411.  
  1412.             read *.doc
  1413.  
  1414.     can be used to page through all .DOC files, and
  1415.  
  1416.             read whats.new quickref.doc
  1417.  
  1418.     will first read WHATS.NEW, then QUICKREF.DOC.
  1419.  
  1420.       
  1421.  
  1422.  
  1423.  
  1424.  
  1425.       When READ begins, it will display one page of text and then pause. 
  1426.     The user can then enter one of the following commands:
  1427.  
  1428.                 <space>         Toggle continuous scroll.
  1429.  
  1430.                 <PgDn>          Clear screen and display next page.
  1431.  
  1432.                 ^D, D, ]      Display next half page of text.
  1433.  
  1434.                 Enter or        Display next line of text.
  1435.                 Down Arrow
  1436.  
  1437.                 <PgUp>, ^B      Clear screen and display previous page.
  1438.  
  1439.                 ^U, U,  [       Move back one half page.
  1440.  
  1441.         Up Arrow    Move back one line.
  1442.  
  1443.         Right Arrow    Shift screen one tab stop right.
  1444.  
  1445.         Left Arrow    Shift screen one tab stop left.
  1446.  
  1447.                 H, Backspace    Display help page.
  1448.  
  1449.                 ^L, .           Rewrite current page.
  1450.  
  1451.                 Home            Move to beginning of file.
  1452.  
  1453.                 End or $        Move to end of file.
  1454.  
  1455.                 N             Display next file.
  1456.  
  1457.         P         Return to previous file.
  1458.  
  1459.         F4              Select new file.
  1460.  
  1461.         \, F2        Search text for string.  Ignore case.
  1462.  
  1463.         |, ShF2        Search text for string.  Match exact case.
  1464.  
  1465.         /, F3        Search text for next occurrence of string.
  1466.  
  1467.                 -###            Move back ### lines.
  1468.  
  1469.                 +###            Move forward ### lines.
  1470.  
  1471.                 ###             Move to line number ###.
  1472.  
  1473.         !        Shell to DOS.
  1474.  
  1475.                 Q, Esc             Terminate the program.
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481.       The escape key can be used to interrupt text searches and exit
  1482.     the help screen.  It will also terminate the program from the main
  1483.     menu.  F10 or Del can be used in place of Esc and  ^PgUp and ^PgDn
  1484.     can be used in place of Home and End.
  1485.  
  1486.       The number of the top line is displayed on the menu bar unless 
  1487.     the end of file message is visible, then the line number displayed 
  1488.     will be the last line of the file.  Unless the file is very small, 
  1489.     you can use PgUp to realign the last page and get rid of the message. 
  1490.  
  1491.       If the number keys are used to go to a line already on the screen, 
  1492.     the screen will scroll until the line is at the top.  Otherwise the 
  1493.     screen will clear and a new page will be displayed.  
  1494.  
  1495.       READ now has a unique method of utilizing the space bar.  
  1496.     Instead of displaying one page of text and halting, pressing 
  1497.     the spacebar will cause the text to scroll until the spacebar
  1498.     is pressed again.  This allows you to halt the display at any
  1499.     desired position.  The scroll rate can be adjusted by pressing 
  1500.     the up and down arrows while the text is moving.  
  1501.  
  1502.       Don't try to control the text with the arrow keys.  Use
  1503.     them to adjust the scroll rate then control the text with the 
  1504.     spacebar.
  1505.  
  1506.  
  1507.       Text searches can be done by typing a "\" or a "|".  You will then 
  1508.     be prompted to enter a search string.  READ will begin displaying ten 
  1509.     lines before the line containing the search string and the matching 
  1510.     line will be highlighted.  The "\" command will ignore differences 
  1511.     between upper and lower case.  The "|" command will find only strings
  1512.     having the exact case as the search string.  Typing a "/" will find
  1513.     the next occurrence of the string and will work with either of the
  1514.     two previous commands. Searches can not be done when reading from 
  1515.     standard input.
  1516.  
  1517.       If +\string is used as an option, READ will search the first 
  1518.     occurrence of "string" before displaying.  For example:
  1519.  
  1520.             read +\ffind dosnix.doc
  1521.  
  1522.     will scan DOSNIX.DOC for the first occurrence of "ffind" and
  1523.     begin displaying ten lines before the first matching line.
  1524.  
  1525.       Case sensitive searches can also be initiated from the command
  1526.     line.  Because "|" is a DOS operator it will be necessary to put
  1527.     the argument in quotes.  For example:
  1528.  
  1529.         read "+|FFIND" dosnix.doc
  1530.  
  1531.       READ can handle files containing up to 30,000 lines although text
  1532.     searches can be slow on large files.
  1533.  
  1534.  
  1535.  
  1536.  
  1537.  
  1538.        
  1539.       Pressing F4 will display the current directory.  You can then
  1540.     use the arrow keys to select either a new file or a new directory.
  1541.     This mode can be entered from the command line by using a directory
  1542.     as an argument.
  1543.  
  1544.  
  1545.       When +### is used as an option, READ will begin displaying at 
  1546.     whatever line number is given after the plus sign.  For example:
  1547.  
  1548.         read +300 dosnix.doc
  1549.  
  1550.     will begin displaying at line 300.
  1551.  
  1552.  
  1553.       Output from other programs can be piped to READ using the "|"
  1554.         operator.  When displaying redirected input, search and    back scroll 
  1555.     commands are not available and lines longer than 80 columns will be 
  1556.     wrapped.  A '-f' option has been provided which will dump redirected 
  1557.     input into a temporary file before reading, making the full range of 
  1558.     commands available.  For example:
  1559.  
  1560.                         ffind -m c:\ *.* | read -f
  1561.  
  1562.         will allow the user to page through the output of FFIND which in 
  1563.     this case is a complete list of files on drive C.
  1564.  
  1565.  
  1566.       Typing "read" by itself with no arguments will echo whatever is
  1567.     typed on the keyboard.  This is also true for CAT and other 
  1568.     commands which are capable of reading STDIN.  This can be confusing  
  1569.     for novice users.  To get out of this mode type CTRL-Z followed
  1570.     by a carriage return.
  1571.  
  1572.       READ is now provided in two versions.  The standard version,
  1573.     READ.EXE will handle files containing up to 30,000 lines.  The
  1574.     large version, READXL.EXE is included in the enhanced version of
  1575.     DOSNIX and will handle files containing up to 100,000 lines.  It
  1576.     requires 350k of free memory to run.
  1577.  
  1578.  
  1579.  
  1580. ~rm
  1581.  
  1582.  
  1583.     NAME:
  1584.  
  1585.     RM      Remove file(s).
  1586.  
  1587.  
  1588.     SYNTAX:
  1589.  
  1590.     rm [-fis] file1...filen        Removes files.
  1591.  
  1592.     rm -r[fis] dir1..dirn          Completely removes directories.
  1593.  
  1594.  
  1595.  
  1596.     OPTIONS:
  1597.  
  1598.     f               Remove protected files without prompting.
  1599.         i               Remove files interactively.
  1600.         r               Recursively remove subdirectories.
  1601.         s               Remove files without echoing to screen.
  1602.  
  1603.  
  1604.  
  1605.  
  1606.     DESCRIPTION:
  1607.  
  1608.       RM is the UNIX equivalent of the MSDOS DEL command.  If a protected 
  1609.     file is specified, RM will prompt you before removing it unless the
  1610.     -f option is used.  This version of RM will display each filename as
  1611.     it is removed.  You can use the  -s option to override this feature.
  1612.  
  1613.       The -i option can be used with wildcards to allow you to pick 
  1614.     and choose which files will be removed. For example:
  1615.  
  1616.                         rm -i *.*
  1617.  
  1618.     will display each filename in the current directory and prompt you
  1619.     for a yes or no answer before deleting.
  1620.  
  1621.       The -r option is used to remove directories.  A directory cannot 
  1622.     be removed unless this option is used.  The directory along with all 
  1623.     files and subdirectories will be completely removed.  If you are using 
  1624.     RM to remove a directory on another drive, make sure that the drive is
  1625.     not logged in to the directory you are removing.  RM cannot remove the
  1626.         current directory of any drive.  
  1627.  
  1628.       If the root directory of any drive is specified, all files and
  1629.     directories on the drive will be removed.  The root directory itself 
  1630.     can not be removed.  For example:
  1631.  
  1632.             rm -r a:\
  1633.  
  1634.     will remove everything on drive A.  RM is a great tool for erasing
  1635.     floppy disks but it is also capable of wiping out your hard disk.
  1636.     Use it with care.
  1637.  
  1638.       RM will now accept multiple arguments, making it easier to clean
  1639.     up directories.  It is okay to mix file    names and directory names as 
  1640.     long as the -r option is used.
  1641.  
  1642.  
  1643.  
  1644. ~rn
  1645.  
  1646.  
  1647.     NAME:
  1648.  
  1649.     RN      Rename file or directory.
  1650.  
  1651.  
  1652.     SYNTAX:
  1653.  
  1654.  
  1655.     rn oldfile newfile              Renames oldfile to newfile.
  1656.     rn oldfile dir                  Relocates oldfile to dir.
  1657.         rn olddir  newdir               Renames olddir to newdir.
  1658.  
  1659.  
  1660.  
  1661.     OPTIONS: none
  1662.  
  1663.  
  1664.  
  1665.  
  1666.     DESCRIPTION:
  1667.  
  1668.       RN is similar to the MV command but is much more limited in scope.  
  1669.     Only one file or directory can be renamed at a time and wild cards 
  1670.     are not permitted.  Files can not be  relocated to another drive and 
  1671.     directories can only be renamed within the parent directory.  Because 
  1672.     of its small size, RN is very useful for floppy drive systems where
  1673.     space is limited.
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680. ~sgrep
  1681.  
  1682.  
  1683.     NAME:
  1684.  
  1685.     SGREP    Search text file(s) for specified string. *
  1686.  
  1687.  
  1688.  
  1689.         * Enhanced version only.
  1690.  
  1691.  
  1692.  
  1693. ~split
  1694.  
  1695.  
  1696.     NAME:
  1697.  
  1698.     SPLIT    Split a text file into several smaller files. *
  1699.  
  1700.  
  1701.  
  1702.         * Enhanced version only.
  1703.  
  1704.  
  1705.  
  1706. ~tee
  1707.  
  1708.  
  1709.     NAME:
  1710.  
  1711.     TEE     Copy standard input to standard output and file(s).
  1712.  
  1713.  
  1714.     SYNTAX:
  1715.  
  1716.     tee [-a] file1 [file2]..[file5]         Copies STDIN to STDOUT and 
  1717.                         file1..file5.
  1718.  
  1719.  
  1720.     OPTIONS:
  1721.  
  1722.     a                       Append output to specified file[s]
  1723.         s                       Suppress standard output.
  1724.  
  1725.  
  1726.     DESCRIPTION:
  1727.  
  1728.       TEE can be used with the DOS "|" operator and any command which 
  1729.     writes to standard output.  For example:
  1730.  
  1731.         cat file1 file2 | tee file3
  1732.  
  1733.     concatenates file1 and file2 while displaying them on the screen and 
  1734.     stores them in file3.
  1735.  
  1736.                  ls -lb dir1 | tee file1
  1737.  
  1738.         displays dir1 in long format and stores the output in file1.
  1739.  
  1740.           The -a option can be used to append the output to existing files.  
  1741.     If the -a option is not used, existing files will be overwritten.  
  1742.     For example:
  1743.  
  1744.                         tee -a file2 <file1
  1745.  
  1746.         displays file1 and appends it to the end of file2
  1747.  
  1748.                         tee file2 <file1
  1749.  
  1750.         displays file1 and overwrites file2.
  1751.  
  1752.           The -s option can be used to suppress standard output and write to 
  1753.     specified files only.  For example:
  1754.  
  1755.         cat source1 | tee -s file1 file2 file3
  1756.  
  1757.         will make multiple copies of source1 without displaying it on the 
  1758.     screen.
  1759.  
  1760.           TEE is meant for use with text files only and use with binary files 
  1761.     is not recommended.
  1762.  
  1763.  
  1764.  
  1765. ~tolower
  1766.  
  1767.  
  1768.     NAME:
  1769.  
  1770.     TOLOWER         Convert to lower case.
  1771.  
  1772.  
  1773.  
  1774.     SYNTAX:
  1775.  
  1776.     tolower                         Converts STDIN to lower case and 
  1777.                     writes to STDOUT.
  1778.  
  1779.  
  1780.  
  1781.     DESCRIPTION:
  1782.  
  1783.       TOLOWER is a filter which will convert all upper case characters to 
  1784.     lower case.  All other characters are left unchanged.  For example:
  1785.  
  1786.                         tolower < file1 > file2
  1787.  
  1788.         converts file1 to lower case and stores the result in file2.
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794. ~touch
  1795.  
  1796.  
  1797.     NAME:
  1798.  
  1799.     TOUCH   Modify file date and time.
  1800.  
  1801.  
  1802.  
  1803.     SYNTAX:
  1804.  
  1805.     touch [-t] [mm/dd/yy;hh:mm:ss] file1
  1806.                                                 Changes date and time of file1
  1807.  
  1808.  
  1809.  
  1810.     OPTIONS:
  1811.  
  1812.     t                       User selected time and date.
  1813.  
  1814.  
  1815.  
  1816.     DESCRIPTION:
  1817.  
  1818.       TOUCH will change the date and time of the specified file to the 
  1819.     current DOS date and time.  If the -t option is used the user can 
  1820.     supply the date and time as the next argument in the format 
  1821.     mm/dd/yy;hh:mm:ss.  If the date and time argument is omitted the 
  1822.     user is prompted to enter the  date and time of his choice.  Wildcards 
  1823.     can be used in file names.
  1824.  
  1825.  
  1826.  
  1827.  
  1828. ~toupper
  1829.  
  1830.  
  1831.     NAME:
  1832.  
  1833.     TOUPPER         Convert to upper case.
  1834.  
  1835.  
  1836.  
  1837.     SYNTAX:
  1838.  
  1839.     toupper                         Converts STDIN to upper case and 
  1840.                     writes to STDOUT.
  1841.  
  1842.  
  1843.  
  1844.     DESCRIPTION:
  1845.  
  1846.       TOUPPER is a filter which will convert all lower case characters 
  1847.     to upper case.  All other characters are left unchanged.  For example:
  1848.  
  1849.                         toupper < file1 > file2
  1850.  
  1851.         converts file1 to upper case and stores the result in file2.
  1852.  
  1853.  
  1854. ~wc
  1855.  
  1856.  
  1857.     NAME:
  1858.  
  1859.     WC        Count lines, words and characters in a file. *
  1860.  
  1861.  
  1862.  
  1863.         * Enhanced version
  1864.  
  1865.  
  1866.  
  1867.  
  1868.  
  1869.                               DISCLAIMER OF WARRANTY
  1870.  
  1871.     This software and manual are sold "as is" and without warranties as to
  1872.     performance of merchantability or any other warranties whether expressed
  1873.     or implied.  Because of the various hardware and software environments
  1874.     into which this program may be put, no warranty of fitness for a particular
  1875.     purpose is offered.
  1876.  
  1877.     Good data processing procedure dictates that any program be thoroughly
  1878.     tested with non-critical data before relying on it.  The user must assume
  1879.     the entire risk of using the program.  Any liability of the seller will be
  1880.     limited exclusively to product replacement or refund of purchase price.
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886. ~registration
  1887.  
  1888.  
  1889.           DOSNIX ver. 2.0b is the product of many hours of design, testing
  1890.         and debugging.  If you use this utility package beyond a reasonable
  1891.         period of time for evaluation, you are required to register. When 
  1892.     you register you will be sent a copy of the enhanced version of DOSNIX 
  1893.     which contains several utilities not found in this version, including 
  1894.     CPDIR, GET, SGREP, SPLIT and WC.  The fee for registration is $25.00.
  1895.     Currently registered users may upgrade at any time by sending $5.00 
  1896.     to cover shipping and handling.
  1897.  
  1898.           Copies of DOSNIX ver. 2.0b can be made and distributed provided 
  1899.         that all utilities, documentation and licensing information are 
  1900.     included.  Even if you do not use this program you are encouraged 
  1901.     to share it with your friends and to upload it to bulletin boards. 
  1902.     Shareware dealers are free to distribute this program provided that 
  1903.     they comply with the guidelines given in REGISTER.DOC.
  1904.  
  1905.           Businesses are invited to use DOSNIX on a trial basis and then to
  1906.         apply for a site license.  Please write to me at the address below
  1907.         to register or to obtain information on site licenses.
  1908.  
  1909.  
  1910.                         Gerald M. Vrooman
  1911.                         RD 1 Box 56
  1912.                         Chenango Forks, NY
  1913.                         13746
  1914.  
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920. -------------------------------------------------------------------------------
  1921.  
  1922.  
  1923.                   DOSNIX  2.0b REGISTRATION
  1924.  
  1925.  
  1926.  
  1927.         NAME:     ____________________________________________________________
  1928.  
  1929.         ADDRESS:  ____________________________________________________________
  1930.  
  1931.                   ____________________________________________________________
  1932.  
  1933.                   ____________________________________________________________
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.     ____ Enhanced version of DOSNIX @ $5.00              ____________
  1941.  
  1942.  
  1943.     ____ Single user registration @ $25.00                ____________
  1944.          (Includes enhanced version.)
  1945.  
  1946.  
  1947.     ____ Basic Site License @ $65.00                      ____________
  1948.          (Up to three computers)
  1949.  
  1950.  
  1951.     ____ Additional computers @ $20.00 
  1952.          (For networks estimate the number
  1953.           of computers which  will be using
  1954.           DOSNIX)                                  ____________
  1955.  
  1956.  
  1957.  
  1958.     Total amount enclosed                                 ____________
  1959.     
  1960.  
  1961.  
  1962.  
  1963.         Please circle one:      5.25" disk      3.5" disk
  1964.  
  1965.  
  1966.  
  1967.